package com.cn.qgx428.lazydiary.Presenter.contract

import com.cn.qgx428.lazydiary.network.bean.User

/**
 * Created by qinguanxiong on 2018/1/3.
 */
interface UserContract {
   interface IUserRegister{
       fun onRegister(msg: String)
       fun onRegisterFaild(msg: String)
   }

    interface IUserLogin{
        fun onLogin(user: User,msg: String)
        fun onLoginFailed(msg: String)
    }
}